#include "Test.TexturedBatch.h"

#undef  APP_NAME
#define APP_NAME	TestLoadTextureApplication
#undef  APP_BASE
#define APP_BASE	TestTexturedBatch


class APP_NAME : public APP_BASE
{
// variables
protected:


// methods
public:
	APP_NAME (IPlatform *platform, EDevice::type deviceType) :
		APP_BASE( platform, deviceType )
	{}
	
	void OnEnter () override
	{
		APP_BASE::OnEnter();

		resMngr.Load( EResource::TEXTURE, "tex/image2", texture );
		material.SetTexture( 0, texture );
	}
};